/* models 1- 6 */

tsset panelvar Year

xtgee  LnLiteracy  ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban

xtgee   LnMaleLit  ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban

xtgee  LnFemLit ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban

xtgee  LnLiteracy  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe 

xtgee  LnMaleLit  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe 

xtgee  LnFemLit  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe  

/* models 1- 6 estimated using the Huber-White robust standard errors */

tsset panelvar Year

xtgee  LnLiteracy  ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban, robust

xtgee   LnMaleLit  ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban, robust

xtgee  LnFemLit ColonialStat LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend South LnLagUrban, robust

xtgee  LnLiteracy  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe, robust 

xtgee  LnMaleLit  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe, robust   

xtgee  LnFemLit  LnLagChristian LnLagUrban  LnLagPcEducExpend LnLagSchedCasteandTribe, robust   

/* Models 1-3  redone using FE for SI Table 5 */

tsset panelvar Year

xtreg LnLiteracy LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend LnLagUrban, i(panelvar) fe

xtreg LnMaleLit LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend LnLagUrban, i(panelvar) fe

xtreg LnFemLit LnLagMuslim LnLagChristian LnLagEuropean LnLagSchedCasteandTribe LnLagPcEducExpend LnLagUrban, i(panelvar) fe

/* Colonial perido robustness checks of important variables for Models 1-6 */

xtreg  LnLiteracy ColonialStat LnLagChristian, pa i( panelvar)

xtreg  LnLiteracy LnLagChristian, pa i( panelvar)

xtreg   LnMaleLit ColonialStat LnLagChristian, pa i( panelvar)

xtreg   LnMaleLit LnLagChristian, pa i( panelvar)

xtreg    LnFemLit ColonialStat LnLagChristian, pa i( panelvar)

xtreg    LnFemLit LnLagChristian, pa i( panelvar)

